#include <stdio.h>

int main(void)
{
    int a, b, res;
    double res_f;
    char op;
    scanf("%d%d %c", &a, &b, &op); //都是以空格分割
    switch (op) {
        case '+':
            res = a + b;
            break;
        case '-':
            res = a - b;
            break;
        case '*':
            res = a * b;
            break;
        case '/':
            if (b == 0) {
                printf("除数不能为0！！！\n");
                return 0;
            }
            res_f = a * 1.0 / b;
            break;
        case '%':
            res = a % b;
            break;
        default:
            printf("操作符错误！\n");
            return 0;
    }
    if (op == '/')
        printf("%d / %d = %f\n", a, b, res_f);
    else
        printf("%d %c %d = %d\n", a, op, b, res);
    return 0;
}   
